package com.yoyo.yyadsdk.broad;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.yoyo.yyadsdk.util.NetWorkUtil;

public class NetworkChangeReceiver extends BroadcastReceiver {
    //监听网络状态
    @Override
    public void onReceive(Context context, Intent intent) {
        if ("android.net.conn.CONNECTIVITY_CHANGE".equals(intent.getAction()))
            if (NetWorkUtil.isNetworkConnected(context)) {

            }
    }
}